<template>
	<view>
		<button @click='onAuthLocation' >授权并获取位置</button>
		
		<view>经纬度：{{location}}</view>
	</view>
</template>

<script>
	export default{
		data(){
			return {
				location:'',
			}
		},
		methods:{
			onAuthLocation(){
				debugger
			},
		}
	}
</script>

<style lang="scss" scoped>
</style>